package com.zoffy.catdiarybackend.websocket;

import lombok.Data;

@Data
public class OperationMessage<T> {
    private long clientId;
    private long serverId;
    // insert delete
    private String type;
    // type=insert时,operations仅且只有一条
    // type=delete时,operations中每个操作下标必须从小到大排列
    private T data;

}
